package com.aef.service;

import java.util.List;

import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Record;

public class AnswerService {

	public List<Record> getAnswerList(List<String> idx) {
		List<Record> list = Db.find(
				"select * from wechat_qy_answer where questionidx in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) order by scores",
				idx.toArray());
		return list;
	}

}
